 //to reset element-ui default css
 $themeColor : #ff7a19;
 $themeColorHover : #fff9f4;
.el-upload {
  input[type="file"] {
    display: none !important;
  }
}
.el-upload__input {
  display: none;
}
.flexd{
  display: flex;
  justify-content: center;
  align-items: center;
}
// 火狐输入框红色bug
 .el-input__inner{
   box-shadow: none !important;
   outline: none !important;
 }
// popover最小宽度
.el-popover{
    min-width: 0 !important;
}
// 分页
.el-pagination{
  display: flex;
  justify-content: center;
}
// 表格不折行
.el-table .cell{
  overflow: hidden;
  text-align: center;
  text-overflow:ellipsis;
  white-space: nowrap !important;
}
// 分页输入框大点
.el-pagination__editor.el-input {
  width: 70px !important;
}
.el-loading-mask {
  z-index: 2999 !important
}
//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}/*
// 自定义按钮颜色
.el-button--primary {
  background: $themeColor !important;
  border-color: $themeColor !important;
}
.el-button--primary:hover {
  background: rgba(255,122,25,0.7) !important;
  border-color: rgba(255,122,25,0.7) !important;
}
// 幽灵按钮颜色
.el-button--primary:hover,.is-plain:hover {
  background: rgba(255,122,25,0.7);
  border-color: rgba(255,122,25,0.7);
}
.is-plain {
  color: $themeColor !important;
  background-color: #fff9f4 !important;
  border-color: $themeColor !important;
}
.is-plain:hover {
  color: #ffffff !important;
  background-color: $themeColor !important;
  border-color: $themeColor !important;
}
// 分页颜色
.el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: $themeColor !important;
}
.el-pagination.is-background .el-pager li:hover {
  color: $themeColor !important;
}
// 输入框获取焦点颜色
input:focus {
  border-color: $themeColor !important;
}
// 时间选取颜色
.el-range-editor.is-active, .el-range-editor.is-active:hover {
  border-color: $themeColor !important;
}
.el-date-table td.end-date span, .el-date-table td.start-date span {
  background-color: $themeColor !important;
}
// select 颜色
.el-select .el-input.is-focus .el-input__inner {
  border-color: $themeColor !important;
}
.el-select:hover {
  border-color: $themeColor !important;
}
.el-select-dropdown__item.selected {
  background-color: $themeColor !important;
  color: #ffffff !important;
}
// 遮罩文字颜色
.el-loading-spinner .el-loading-text {
  color: $themeColor !important;
}
.el-loading-spinner .path {
  stroke: $themeColor !important;
}
.el-dropdown-menu__item {
  &:hover,&:focus {
    color: $themeColor !important;
    background: rgba(255,122,25,0.2) !important;
  }
}
*/
// 弹层超出视窗
.el-dialog {
  max-height: calc(100% - 120px);
}
// 实现body内部滚动
.el-dialog {
  display: flex;
  flex-direction: column;
}
.el-dialog .el-dialog__body{
  overflow: auto;
}
/* ::-webkit-scrollbar-track-piece { //滚动条凹槽的颜色，还可以设置边框属性
background-color:#f8f8f8;
}
::-webkit-scrollbar {//滚动条的宽度
width:9px;
height:9px;
}
::-webkit-scrollbar-thumb {//滚动条的设置
background-color:#dddddd;
background-clip:padding-box;
min-height:28px;
}
::-webkit-scrollbar-thumb:hover {
background-color:#bbb;
}
 ::-webkit-scrollbar{
  width: 14px;
  height: 14px;
}
::-webkit-scrollbar-track,::-webkit-scrollbar-thumb{
  border-radius: 999px;
  border: 5px solid transparent;
}
::-webkit-scrollbar-track{
  box-shadow: 1px 1px 5px rgba(0,0,0,.2) inset;
}
::-webkit-scrollbar-thumb{
  min-height: 20px;
  background-clip: content-box;
  box-shadow: 0 0 0 5px rgba(0,0,0,.2) inset;
}
::-webkit-scrollbar-corner{
  background: transparent;
}
 */
 // 按钮大小调整
 .el-button--mini, .el-button--mini.is-round{
  padding: 5px 15px;
 }
 .popverss{
  margin: 0 auto !important;
 }